<?php // no direct access
defined('_JEXEC') or die('Restricted access'); 
$date = $item->created;
$date = date('l F d, Y', strtotime($date));
?>
<div class="s5_sn_wrap_2" style="font-weight:normal; border-bottom:<?php echo $params->get('separator') ?>; background:none; padding:0px; margin:0px; margin-bottom:<?php echo $params->get('sep_2_margin') ?>px">

	<a style="font-weight:normal; background:none; display:block; padding:0px; margin:0px; margin-bottom:<?php echo $params->get('title_2_margin') ?>px; font-size:<?php echo $params->get('title_2_size') ?>px; cursor:pointer" class="s5_sn_2_title" href="<?php echo $item->linkOn;?>"><?php echo substr($item->title, 0, $params->get('characters_2_title')) ?></a>

	<?php if ($params->get('create_date_2') == 1) { ?>
		<div style="font-weight:normal; background:none; display:block; padding:0px; margin:0px; margin-bottom:<?php echo $params->get('date_2_margin') ?>px; font-size:<?php echo $params->get('date_2_size') ?>px" class="s5_sn_2_date"><?php echo $date; ?></div>
	<?php } ?>

	<div style="font-weight:normal; background:none; display:block; padding:0px; margin:0px; margin-bottom:<?php echo $params->get('text_2_margin') ?>px; font-size:<?php echo $params->get('text_2_size') ?>px" class="s5_sn_2_text"><?php echo substr($item->text, 0, $params->get('characters_2_text')) ?></div>
	
</div>

